Techniques for Automatically Establishing a Long-Lasting Connection Across Computing Devices Configured for Short-Range Wireless Communication

ABSTRACT

A computer-implemented technique includes initiating, at a first computing device including one or more processors, communication with a second computing device via a short-range wireless communication protocol. The technique includes receiving, at the first computing device, a set of information from the second computing device via the short-range wireless communication protocol, the set of information for configuring communication via a different, second wireless communication protocol.

PRIORITY/CROSS-REFERENCE TO RELATED APPLICATIONS

This application is a continuation application of U.S. application Ser.No. 14/751,815, filed on Jun. 26, 2015, which is a continuationapplication of U.S. application Ser. No. 13/834,900, filed on Mar. 15,2013, now U.S. Pat. No. 9,125,180, which is related to co-pending U.S.application Ser. No. 13/834,622, filed on Mar. 15, 2013, now U.S. Pat.No. 9,526,120, and entitled “TECHNIQUES FOR CONTEXT-BASED APPLICATIONINVOCATION FOR SHORT-RANGE WIRELESS COMMUNICATION INTERACTIONS.” Thedisclosure of each of the above applications is incorporated herein byreference in its entirety.

FIELD

The present disclose relates to communication between computing devicesand, more particularly, to techniques for automatically establishing along-lasting connection across computing devices configured forshort-range wireless communication.

BACKGROUND

The background description provided herein is for the purpose ofgenerally presenting the context of the disclosure. Work of thepresently named inventors, to the extent it is described in thisbackground section, as well as aspects of the description that may nototherwise qualify as prior art at the time of filing, are neitherexpressly nor impliedly admitted as prior art against the presentdisclosure.

Computing devices may be configured for short-range wirelesscommunication, such as near field communication (NFC). For example,mobile phones can be configured for NFC with other mobile phones and/orother computing devices. NFC involves radio frequency (RF) communicationbetween two or more computing devices over a relatively short distance,e.g., a few centimeters. Outside of this relatively short distance, thetwo or more computing devices may communicate via other communicationprotocols.

SUMMARY

A computer-implemented technique is presented. The technique can includeinitiating, at a first computing device including one or moreprocessors, communication with a second computing device via ashort-range wireless communication protocol. The technique can includereceiving, at the first computing device, a set of information from thesecond computing device via the short-range wireless communicationprotocol, the set of information indicating: (i) a first applicationcurrently executing in a foreground at the second computing device, (ii)a unique identifier for the second computing device, and (iii) a portaddress for communication with the first application executing at thesecond computing device via another wireless communication protocol. Thetechnique can also include automatically configuring, at the firstcomputing device and in response to receiving the set of informationfrom the second computing device via the short-range wirelesscommunication protocol, communication between a second application atthe first computing device and the first application executing at thesecond computing device via the other wireless communication protocolusing the set of information. The first application and the secondapplication can be a same type of software application.

In some embodiments, the automatically configuring includesautomatically configuring, at the first computing device, communicationbetween the second application executing at the first computing deviceand the first application executing at the second computing device viathe other wireless communication protocol using the port address.

In other embodiments, the short-range wireless communication protocol isnear field communication (NFC), the other wireless communicationprotocol is Bluetooth, and the port address for communication with thesecond computing device is a listening Bluetooth socket for the firstapplication executing at the second computing device.

In some embodiments, the automatically configuring further includes:generating, at the second application executing at the first computingdevice, a callback for the port address, and sending, to the secondapplication executing at the first computing device, a reply to thecallback including the port address specified by the set of informationfrom the second computing device.

In other embodiments, the technique further includes: determining, atthe first computing device, whether the second application is installedat the first computing device, and obtaining, at the first computingdevice, the second application when the second application is notinstalled at the first computing device.

In some embodiments, the technique further includes determining, at thefirst computing device, whether the second application is currentlyexecuting in a foreground at the first computing device.

In other embodiments, the technique further includes launching, at thefirst computing device and in response to receiving the set ofinformation from the second computing device, the second applicationwhen the second application is not currently executing at the firstcomputing device.

In some embodiments, the technique further includes transitioning, atthe first computing device and in response to receiving the set ofinformation from the second computing device, the second application tothe foreground at the first computing device when the second applicationis currently executing in a background at the first computing device.

In other embodiments, the technique further includes communicatingbetween the second application executing at the first computing deviceand the first application executing at the second computing device viathe short-range wireless communication protocol when the first andsecond computing devices are within a predetermined distance from eachother.

In some embodiments, the technique further includes communicatingbetween the second application executing at the first computing deviceand the first application executing at the second computing device viathe other wireless communication protocol when the first and secondcomputing devices are outside of the predetermined distance from eachother.

A first computing device is also presented. The first computing devicecan include a communication device and one or more processors. Thecommunication device can be configured to: initiate communication with asecond computing device via a short-range wireless communicationprotocol, and receive a set of information from the second computingdevice via the short-range wireless communication protocol, the set ofinformation indicating: (i) a first application currently executing in aforeground at the second computing device, (ii) a unique identifier forthe second computing device, and (iii) a port address for communicationwith the first application executing at the second computing device viaanother wireless communication protocol. The one or more processors canbe configured to, in response to receiving the set of information fromthe second computing device via the short-range wireless communicationprotocol, automatically configure the communication device forcommunication between a second application at the first computing deviceand the first application executing at the second computing device viathe other wireless communication protocol using the set of information.The first application and the second application can be a same type ofsoftware application.

In some embodiments, the one or more processors are configured toautomatically configure the communication device for communicationbetween the second application executing at the first computing deviceand the first application executing at the second computing device viathe other wireless communication protocol using the port address.

In other embodiments, the short-range wireless communication protocol isnear field communication (NFC), the other wireless communicationprotocol is Bluetooth, and the port address for communication by thecommunication device with the second computing device is a listeningBluetooth socket for the first application executing at the secondcomputing device.

In some embodiments, the one or more processors are configured toautomatically configure the communication device for communicationbetween the second application executing at the first computing deviceand the first application executing at the second computing device viathe other wireless communication protocol by: generating, at the secondapplication executing at the first computing device, a callback for theport address, and sending, to the second application executing at thefirst computing device, a reply to the callback including the portaddress specified by the set of information from the second computingdevice.

In other embodiments, the one or more processors are further configuredto determine whether the second application is installed at the firstcomputing device, and wherein the communication device is furtherconfigured to obtain the second application when the second applicationis not installed at the first computing device.

In some embodiments, the one or more processors are further configuredto determine whether the second application is currently executing in aforeground at the first computing device.

In other embodiments, the one or more processors are further configuredto launch the second application in response to receiving the set ofinformation from the second computing device and when the secondapplication is not currently executing at the first computing device.

In some embodiments, the one or more processors are further configuredto transition the second application to the foreground at the firstcomputing device in response to receiving the set of information fromthe second computing device and when the second application is currentlyexecuting in a background at the first computing device.

In other embodiments, the communication device is further configured tocommunicate between the second application executing at the firstcomputing device and the first application executing at the secondcomputing device via the short-range wireless communication protocolwhen the first and second computing devices are within a predetermineddistance from each other.

In some embodiments, the communication device is further configured tocommunicate between the second application executing at the firstcomputing device and the first application executing at the secondcomputing device via the other wireless communication protocol when thefirst and second computing devices are outside of the predetermineddistance from each other.

Further areas of applicability of the present disclosure will becomeapparent from the detailed description provided hereinafter. It shouldbe understood that the detailed description and specific examples areintended for purposes of illustration only and are not intended to limitthe scope of the disclosure.

BRIEF DESCRIPTION OF THE DRAWINGS

The present disclosure will become more fully understood from thedetailed description and the accompanying drawings, wherein:

FIG. 1 is an illustration of short-range wireless communication betweenan example mobile computing device according to some implementations ofthe present disclosure and another mobile computing device;

FIG. 2 is a functional block diagram of the example mobile computingdevice of FIG. 1; and

FIG. 3 is a flow diagram of an example technique for automaticallyestablishing a long-lasting connection across devices configured forshort-range wireless communication according to some implementations ofthe present disclosure.

DETAILED DESCRIPTION

As previously described, near field communication (NFC) involves radiofrequency (RF) communication between two or more computing devices overa relatively short distance, e.g., a few centimeters. For example, auser may initiate NFC by positioning his/her mobile computing devicewithin the required range for NFC with another computing device (amobile computing device, a stationary computing device, etc.). Aspreviously explained, however, NFC may be unavailable outside of therequired range. In these situations, the computing devices maycommunicate via non-NFC protocols (Bluetooth, WiFi Direct, WiFi, etc.).These non-NFC protocols, however, typically require an exchange ofinformation between the computing devices in order to configure andestablish a connection. This exchange and configuration in order toestablish the connection can be time consuming.

Accordingly, techniques are presented for automatically establishing along-lasting connection across computing devices enabled for short-rangewireless communication. While the techniques of the present disclosureare hereinafter described with specific reference to NFC and non-NFCmediums, it should be appreciated that the techniques of the presentdisclosure apply to other suitable short-range wireless communicationmediums (Bluetooth, WiFi Direct, etc.) and other suitablenon-short-range wireless communication mediums, e.g., WiFi. It shouldalso be appreciated that the terms “long-lasting connection” as usedherein can refer to any connection established via a non-NFC protocol.The techniques can include initiating, at a first computing deviceincluding one or more processors, communication with a second computingdevice via an NFC protocol. The techniques can include receiving, at thefirst computing device, a set of information from the second computingdevice via the NFC protocol, the set of information. The set ofinformation can indicate: (i) a first application currently executing ina foreground at the second computing device, (ii) a unique identifierfor the second computing device, and/or (iii) a port address forcommunication with the first application executing at the secondcomputing device via a non-NFC protocol.

The techniques can also include automatically configuring, at the firstcomputing device and in response to receiving the set of informationfrom the second computing device via the NFC protocol, communicationbetween a second application at the first computing device and the firstapplication executing at the second computing device via the non-NFCprotocol using the set of information. It should be appreciated that theterms “automatically configuring” as used herein can refer toautomatically configuring communication via a non-NFC protocol betweenapplications executing on different computing devices using an NFCprotocol without having to exit the applications. For example only,Bluetooth pairing typically involves the user inputting a code in orderto verify the identity of the device. The techniques of the presentdisclosure, however, provide for “automatically configuring”communication between applications executing on different computingdevices via a non-NFC protocol, e.g., Bluetooth, without the user'sintervention/interaction.

The first application and the second application can be a same type ofsoftware application, e.g., a video game application. In some cases, thefirst and second application can be the same software application. Itshould also be appreciated that the terms “same type of softwareapplication” as used herein can refer to applications being of a sametype, e.g., a video game application in general, or in alternatively,the same application, e.g., a specific video game application. In otherwords, the same application, e.g., a specific video game application,can be executing on both the first and second computing devices. It isrecognized, however, that the implementation and/or configuration of theapplication on the first and second computing devices may be different.The applications on the respective computing devices may wish tocommunicate directly in order to create a better multi-user environment,e.g., a better multiplayer gaming environment in video gameapplications.

Referring now to FIG. 1, a short-range wireless communicationinteraction 100, e.g., an NFC interaction, between an example mobilecomputing device 104 according to some implementations of the presentdisclosure and another mobile computing device 108 is illustrated. Itshould be appreciated that one or both of the mobile computing devices104, 108 may be a stationary computing device (a desktop computer, apublic computing terminal, etc.). For purposes of simplicity, theexample mobile computing device 104 and the other mobile computingdevice 108 may be referred to herein as a first mobile computing device104 and a second mobile computing device 108, respectively. The firstmobile computing device 104 can receive input from and/or outputinformation to a first user interface 112. Similarly, the second mobilecomputing device 108 can also receive input from and/or outputinformation to a second user interface 116.

A first user 120 can interact with the first user interface 112 and asecond user 124 can interact with the second user interface 116. Inorder to establish NFC between the first mobile computing device 104 andthe second mobile computing device 108, the first mobile computingdevice 104 (the “initiator”) initiates communication with the secondmobile computing device 108 (the “target”). Specifically, the firstmobile computing device 104 may generate an electromagnetic field 128using radio frequency (RF) waves. For example, the RF waves may have afrequency of approximately 13.56 megahertz (MHz) within a bandwidth ofapproximately 14 kilohertz (kHz). Other frequency ranges, however, mayalso be used.

The electromagnetic field 128 extends outwardly from the first mobilecomputing device 104 for a first distance 132. The electromagnetic field128, therefore, may cover an area based on the first distance 132. Forexample, the first distance 132 to achieve a successful NFC transmissionmay be approximately 20 centimeters (cm). NFC transmissions at the firstdistance 132, however, may be inconsistent and therefore may suffer fromdata loss. Therefore, a second distance 136 may be desired for moreeffective NFC transmission, the second distance 136 being shorter thanthe first distance 132. For example, the second distance 136 may beapproximately 4 cm.

When the second mobile computing device 108 is brought within theelectromagnetic field 128, e.g., by the second user 124, the secondmobile computing device 108 may behave according to one of two operatingmodes. In a passive operating mode, the second mobile computing device108 modulates a load to communicate back to the first mobile computingdevice 104. In an active mode, on the other hand, the second mobilecomputing device 108 alternates with the first mobile computing device104 in generating the electromagnetic field 128. In other words, duringthe active mode only one of the first mobile computing device 104 andthe second mobile computing device 108 is generating the electromagneticfield 128 at a given time while the other mobile computing device waitsfor data.

The first mobile computing device 104 can also execute the techniquesaccording to some implementations of the present disclosure. The firstmobile computing device 104 can initiate communication with the secondmobile computing device 108 via an NFC protocol. The first mobilecomputing device 104 can receive a set of information from the secondmobile computing device 108 via the NFC protocol. The set of informationcan include a port address for communication with a first applicationcurrently executing in a foreground at the second mobile computingdevice 108 via a non-NFC protocol, e.g., Bluetooth. The set ofinformation can also include other information, such as a uniqueidentifier for the second mobile computing device 108. The first mobilecomputing device 104 can also automatically configure communicationbetween a second application at the first mobile computing device 104and the first application executing at the second mobile computingdevice 108 via the non-NFC protocol using the set of information.

Referring now to FIG. 2, a functional block diagram of the first mobilecomputing device 104 is illustrated. It should be appreciated that thesecond mobile computing device 108 can also have a same or similarfunctional block diagram. The first mobile computing device 104 caninclude the first user interface 112, a processor 200, a communicationdevice 204, and a memory 208. As previously mentioned, the first userinterface 112 can receive input and/or output information. For example,the first user interface 112 can receive input from the first user 120.The first user interface 112 can include any suitable components forreceiving input and/or outputting information (a keyboard, a touchdisplay, etc.).

The processor 200 can control operation of the first mobile computingdevice 104. It should be appreciated that the term “processor” as usedherein can refer to either a single processor or two or more processorsoperating in a parallel or distributed architecture. The processor 200can perform functions including, but not limited to, loading andexecuting an operating system of the first mobile computing device 104,controlling input/output at the first user interface 112, controllingcommunication between the first mobile computing device 104 and othercomputing devices, e.g., the second mobile computing device 108, via thecommunication device 204, and/or controlling read/write operations atthe memory 208.

As mentioned above, the communication device 204 can controlcommunication between the first mobile computing device 104 and othercomputing devices. The communication device 204 can further include anNFC module 212 and a non-NFC module 216. More specifically, thecommunication device 204 can use these modules to control NFCinteraction and non-NFC interaction (Bluetooth, WiFi Direct, WiFi,etc.), respectively, between the first mobile computing device 104 andother computing devices, e.g., the second mobile computing device 108.The communication device 204 can include any suitable components forcommunicating via an NFC protocol and/or other non-NFC protocols (atransceiver, an NFC chip, etc.). For example only, the NFC protocol maybe defined according to the ISO/IEC 18092 standards. The memory 208 canbe any suitable storage medium (flash, hard disk, etc.) configured tostore information at the first mobile computing device 104.

The processor 200 and the communication device 204 can also execute thetechniques of the present disclosure, which are described in detailbelow. The communication device 204 can be configured to initiatecommunication with the second mobile computing device 108 via an NFCprotocol. After initiating communication with the second mobilecomputing device 108 via the NFC protocol, an NFC communication link canbe established between the first mobile computing device 104 and thesecond mobile computing device 108. The communication device 204 canthen receive a set of information from the second mobile computingdevice 108 via the NFC communication link. The set of information may bereceived from the second mobile computing device 108 in response to arequest generated at and transmitted by the first mobile computingdevice 104.

The set of information can include (i) a first application currentlyexecuting in a foreground at the second mobile computing device 108,(ii) a unique identifier for the second mobile computing device 108, and(iii) a port address for communication with the first applicationexecuting at the second mobile computing device 108 via a non-NFCprotocol. It should be appreciated that the set of information can alsoinclude less than these three pieces of information, or even additionalinformation. For example only, the set of information may only includethe port address for communication with the first application currentlyexecuting in a foreground at the second mobile computing device 108.

In response to receiving the set of information from the secondcomputing device via the NFC protocol, the processor 200 can beconfigured to automatically configure the communication device 204 forcommunication between a second application at the first mobile computingdevice 104 and the first application executing at the second mobilecomputing device 108 via the non-NFC protocol using the set ofinformation. The first application and the second application may be thesame type of software application, including but not limited to beingthe same application, e.g., a specific video game application.

More specifically, the processor 200 can be configured to automaticallyconfigure the communication device 204 for communication between thesecond application executing at the first mobile computing device 104and the first application executing at the second mobile computingdevice 108 via the non-NFC protocol using the port address. For exampleonly, the non-NFC protocol may be Bluetooth, and the port address forcommunication by the communication device 204 with the second mobilecomputing device 108 may be a listening Bluetooth socket for the firstapplication executing at the second mobile computing device 108. Theterm “socket” as used herein can refer to one end-point of a two-waycommunication link between two programs running on a network. It shouldbe appreciated that other suitable port addresses and other non-NFCprotocols can be implemented.

As previously mentioned, the set of information can also include otherinformation in addition to the port address to be used for communicationwith the first application executing at the second mobile computingdevice 108 via the non-NFC protocol. First, the set of information canalso include an indication of whether the first application is executingin a foreground at the second mobile computing device 108. For example,the techniques of the present disclosure may be limited to situationswhere the first application is executing in the foreground at the secondmobile computing device 108 (and thus not in the background) andtherefore currently has the user's attention. Second, the set ofinformation can also include a unique identifier for the second mobilecomputing device 108. For example, the unique identifier can be used toautomatically associate the automatically configured communicationsettings with the unique identifier of second mobile computing device108 for situations where the second mobile computing device 108 leavesthe capable communication range of the non-NFC protocol.

After automatically configuring the communication device 204 forcommunication via the non-NFC protocol, a non-NFC communication link maybe established. In some implementations, the automatic configuration ofthe non-NFC communication link between the between the first and secondapplications can include: generating, at the second application, acallback for the port address, and sending, to the second application,computing device, a reply to the callback including the port addressspecified by the set of information from the second computing device.For example only, the callback can be processed and the reply can begenerated and sent by an operating system executing at the first mobilecomputing device 104 or another application executing at the firstmobile computing device 104.

The processor 200 can also be configured to determine whether the secondapplication is installed at the first mobile computing device 104. Whenthe second application is not installed at the first mobile computingdevice 104, the communication device 204 can be configured to obtain thesecond application. For example, obtaining the second application caninclude downloading the second application via a network, receiving thesecond application from another computing device, or retrieving thesecond application from a memory. The processor 200 can also beconfigured to determine whether the second application is currentlyexecuting in a foreground at the first mobile computing device. Forexample, executing in the foreground can refer to the second applicationexecuting and being currently visible in a top layer at the first mobilecomputing device 104.

When the second application is not currently executing at the firstmobile computing device 104, the processor 200 can be configured tolaunch the second application. For example, launching can refer toinitializing and beginning execution of the second application at thefirst mobile computing device 104. The processor 200 can also beconfigured to transition the second application to the foreground at thefirst mobile computing device 104 when the second application iscurrently executing in a background at the first mobile computingdevice. For example, executing in the background can refer to the secondapplication executing and not being currently visible (or being onlypartially visible) in a layer below the top layer at the first mobilecomputing device 104.

The communication device 204 can also be configured to communicatebetween the second application executing at the first mobile computingdevice 104 and the first application executing at the second mobilecomputing device 108 via the NFC protocol (via the NFC communicationlink) when the first and second mobile computing devices 104, 108 arewithin a predetermined distance (or predetermined range) from eachother. As previously discussed, for example, the predetermined distancemay be four centimeters. Similarly, the communication device 204 canalso be configured to communicate between the second applicationexecuting at the first mobile computing device 104 and the firstapplication executing at the second mobile computing device 108 via thenon-NFC protocol (the non-NFC communication link) when the first andsecond mobile computing devices 104, 108 are outside of thepredetermined distance from each other.

Referring now to FIG. 3, a flow diagram of an example technique 300 forautomatically establishing a long-lasting connection across NFC-enabledcomputing devices is illustrated.

At 304, the first mobile computing device 104 can initiate communicationwith the second mobile computing device 108 via an NFC protocol. Forexample, communication via the NFC protocol may be automaticallyinitiated when the first mobile computing device 104 and the secondmobile computing device 108 are brought within a predetermined range ofeach other.

At 308, the first mobile computing device 104 can determine whether anNFC communication link with the second mobile computing device 108 viathe NFC protocol has been established. If the NFC communication link hasbeen established, the technique 300 can proceed to 312. If the NFCcommunication link has not yet been established, the technique canreturn to 308.

At 312, the first mobile computing device 104 can receive a set ofinformation from the second mobile computing device 108 via the NFCcommunication link. The set of information can indicate (i) a firstapplication currently executing in a foreground at the second mobilecomputing device 108, (ii) a unique identifier for the second mobilecomputing device 108, and/or (iii) a port address for communication withthe first application executing at the second mobile computing device108 via a non-NFC protocol.

At 316, the first mobile computing device 104 can, in response toreceiving the set of information from the second mobile computing device108 via the NFC communication link, automatically configurecommunication between a second application at the first mobile computingdevice 104 and the first application executing at the second mobilecomputing device 108 via the non-NFC protocol using the set ofinformation. The first application and the second application can be asame type of software application.

At 320, the first mobile computing device 104 can determine whether theNFC communication link has been terminated. For example, the NFCcommunication link may be terminated due to the first mobile computingdevice 104 and the second mobile computing device 108 being out of rangefor NFC. If the NFC communication link has been terminated, thetechnique 300 can proceed to 324. If the NFC communication link has notbeen terminated, the technique 300 can return to 320 and the secondapplication executing at the first mobile computing device 104 cancommunicate with the first application executing at the second mobilecomputing device 108 via the NFC communication link.

At 324, the first mobile computing device 104 can begin communicationbetween the second application executing at the first mobile computingdevice 104 and the first application executing at the second mobilecomputing device 108 via the non-NFC protocol. For example, this mayinclude automatically establishing a non-NFC communication link via thenon-NFC protocol.

The technique 300 can then end or return to 304 for one or moreadditional cycles.

Example embodiments are provided so that this disclosure will bethorough, and will fully convey the scope to those who are skilled inthe art. Numerous specific details are set forth such as examples ofspecific components, devices, and methods, to provide a thoroughunderstanding of embodiments of the present disclosure. It will beapparent to those skilled in the art that specific details need not beemployed, that example embodiments may be embodied in many differentforms and that neither should be construed to limit the scope of thedisclosure. In some example embodiments, well-known procedures,well-known device structures, and well-known technologies are notdescribed in detail.

The terminology used herein is for the purpose of describing particularexample embodiments only and is not intended to be limiting. As usedherein, the singular forms “a,” “an,” and “the” may be intended toinclude the plural forms as well, unless the context clearly indicatesotherwise. The term “and/or” includes any and all combinations of one ormore of the associated listed items. The terms “comprises,”“comprising,” “including,” and “having,” are inclusive and thereforespecify the presence of stated features, integers, steps, operations,elements, and/or components, but do not preclude the presence oraddition of one or more other features, integers, steps, operations,elements, components, and/or groups thereof. The method steps,processes, and operations described herein are not to be construed asnecessarily requiring their performance in the particular orderdiscussed or illustrated, unless specifically identified as an order ofperformance. It is also to be understood that additional or alternativesteps may be employed.

Although the terms first, second, third, etc. may be used herein todescribe various elements, components, regions, layers and/or sections,these elements, components, regions, layers and/or sections should notbe limited by these terms. These terms may be only used to distinguishone element, component, region, layer or section from another region,layer or section. Terms such as “first,” “second,” and other numericalterms when used herein do not imply a sequence or order unless clearlyindicated by the context. Thus, a first element, component, region,layer or section discussed below could be termed a second element,component, region, layer or section without departing from the teachingsof the example embodiments.

As used herein, the term module may refer to, be part of, or include: anApplication Specific Integrated Circuit (ASIC); an electronic circuit; acombinational logic circuit; a field programmable gate array (FPGA); aprocessor or a distributed network of processors (shared, dedicated, orgrouped) and storage in networked clusters or datacenters that executescode or a process; other suitable components that provide the describedfunctionality; or a combination of some or all of the above, such as ina system-on-chip. The term module may also include memory (shared,dedicated, or grouped) that stores code executed by the one or moreprocessors.

The term code, as used above, may include software, firmware, byte-codeand/or microcode, and may refer to programs, routines, functions,classes, and/or objects. The term shared, as used above, means that someor all code from multiple modules may be executed using a single(shared) processor. In addition, some or all code from multiple modulesmay be stored by a single (shared) memory. The term group, as usedabove, means that some or all code from a single module may be executedusing a group of processors. In addition, some or all code from a singlemodule may be stored using a group of memories.

The techniques described herein may be implemented by one or morecomputer programs executed by one or more processors. The computerprograms include processor-executable instructions that are stored on anon-transitory tangible computer readable medium. The computer programsmay also include stored data. Non-limiting examples of thenon-transitory tangible computer readable medium are nonvolatile memory,magnetic storage, and optical storage.

Some portions of the above description present the techniques describedherein in terms of algorithms and symbolic representations of operationson information. These algorithmic descriptions and representations arethe means used by those skilled in the data processing arts to mosteffectively convey the substance of their work to others skilled in theart. These operations, while described functionally or logically, areunderstood to be implemented by computer programs. Furthermore, it hasalso proven convenient at times to refer to these arrangements ofoperations as modules or by functional names, without loss ofgenerality.

Unless specifically stated otherwise as apparent from the abovediscussion, it is appreciated that throughout the description,discussions utilizing terms such as “processing” or “computing” or“calculating” or “determining” or “displaying” or the like, refer to theaction and processes of a computer system, or similar electroniccomputing device, that manipulates and transforms data represented asphysical (electronic) quantities within the computer system memories orregisters or other such information storage, transmission or displaydevices.

Certain aspects of the described techniques include process steps andinstructions described herein in the form of an algorithm. It should benoted that the described process steps and instructions could beembodied in software, firmware or hardware, and when embodied insoftware, could be downloaded to reside on and be operated fromdifferent platforms used by real time network operating systems.

The present disclosure also relates to an apparatus for performing theoperations herein. This apparatus may be specially constructed for therequired purposes, or it may comprise a general-purpose computerselectively activated or reconfigured by a computer program stored on acomputer readable medium that can be accessed by the computer. Such acomputer program may be stored in a tangible computer readable storagemedium, such as, but is not limited to, any type of disk includingfloppy disks, optical disks, CD-ROMs, magnetic-optical disks, read-onlymemories (ROMs), random access memories (RAMs), EPROMs, EEPROMs,magnetic or optical cards, application specific integrated circuits(ASICs), or any type of media suitable for storing electronicinstructions, and each coupled to a computer system bus. Furthermore,the computers referred to in the specification may include a singleprocessor or may be architectures employing multiple processor designsfor increased computing capability.

The algorithms and operations presented herein are not inherentlyrelated to any particular computer or other apparatus. Variousgeneral-purpose systems may also be used with programs in accordancewith the teachings herein, or it may prove convenient to construct morespecialized apparatuses to perform the required method steps. Therequired structure for a variety of these systems will be apparent tothose of skill in the art, along with equivalent variations. Inaddition, the present disclosure is not described with reference to anyparticular programming language. It is appreciated that a variety ofprogramming languages may be used to implement the teachings of thepresent disclosure as described herein, and any references to specificlanguages are provided for disclosure of enablement and best mode of thepresent invention.

The present disclosure is well suited to a wide variety of computernetwork systems over numerous topologies. Within this field, theconfiguration and management of large networks comprise storage devicesand computers that are communicatively coupled to dissimilar computersand storage devices over a network, such as the Internet.

The foregoing description of the embodiments has been provided forpurposes of illustration and description. It is not intended to beexhaustive or to limit the disclosure. Individual elements or featuresof a particular embodiment are generally not limited to that particularembodiment, but, where applicable, are interchangeable and can be usedin a selected embodiment, even if not specifically shown or described.The same may also be varied in many ways. Such variations are not to beregarded as a departure from the disclosure, and all such modificationsare intended to be included within the scope of the disclosure.

What is claimed is:
 1. A computer-implemented method, comprising:initiating, between first and second computing devices each having oneor more processors, communication via a first wireless communicationprotocol, the first wireless communication protocol being a short-rangewireless communication protocol; receiving, at the first computingdevice from the second computing device via the first wirelesscommunication protocol, a set of information for configuringcommunication via a different, second wireless communication protocolbetween same-type first and second applications executable by the firstand second computing devices, respectively, the set of informationindicating that the second application is currently executing in aforeground at the second computing device; and in response to receivingthe set of information, configuring, by the first computing device,communication via the second wireless communication protocol between thefirst and second applications.
 2. The computer-implemented method ofclaim 1, further comprising: requesting, by the first computing devicefrom the second computing device, the set of information after the firstand second computing devices initiate communication by the firstwireless communication protocol.
 3. The computer-implemented method ofclaim 1, wherein the configuring is performed without exiting the firstand second applications.
 4. The computer-implemented method of claim 1,wherein the set of information further indicating a port address forcommunication by the first application with the second application viathe second wireless communication protocol.
 5. The computer-implementedmethod of claim 4, wherein the configuring is performed by: generating,at the first application, a callback for the port address; and sending,to the first application, a reply to the callback including the portaddress specified by the set of information from the second computingdevice.
 6. The computer-implemented method of claim 4, wherein the firstwireless communication protocol is near field communication (NFC),wherein the second wireless communication protocol is Bluetooth, andwherein the port address for communication with the second computingdevice is a listening Bluetooth socket for the second applicationcurrently executing at the second computing device.
 7. Thecomputer-implemented method of claim 6, wherein the listening Bluetoothsocket is one end-point of a two-way communication link between thefirst and second applications.
 8. The computer-implemented method ofclaim 1, wherein the set of information indicates a unique identifierfor the second application currently executing in the foreground at thesecond computing device.
 9. The computer-implemented method of claim 1,further comprising: determining, at the first computing device, whetherthe first application is installed at the first computing device; andobtaining, at the first computing device, the first application when thefirst application is not installed at the first computing device. 10.The computer-implemented method of claim 1, further comprising: inresponse to receiving the set of information from the second computingdevice, launching, at the first computing device, the first applicationwhen the first application is not currently executing at the firstcomputing device.
 11. The computer-implemented method of claim 1,further comprising: determining, at the first computing device, whetherthe first application is currently executing in a background at thefirst computing device; and in response to receiving the set ofinformation from the second computing device, transitioning, at thefirst computing device, the first application to the foreground at thefirst computing device when the first application is currently executingin the background at the first computing device.
 12. Thecomputer-implemented method of claim 1, wherein the first application iscurrently executing at the first computing device, and furthercomprising: communicating between the first application and the secondapplication via the first wireless communication protocol when the firstand second computing devices are within a predetermined distance fromeach other; and communicating between the first application and thesecond application via the second wireless communication protocol whenthe first and second computing devices are outside of the predetermineddistance from each other.
 13. The computer-implemented method of claim1, wherein the configuring of the communication via the second wirelesscommunication protocol between the first and second applications isperformed without exiting the first and second applications.
 14. Acomputer-implemented method, comprising: initiating, between first andsecond computing devices each having one or more processors,communication via a first wireless communication protocol, the firstwireless communication protocol being a short-range wirelesscommunication protocol; requesting, by the first computing device fromthe second computing device, a set of information for configuringcommunication via a different, second wireless communication protocolbetween first and second applications executable by the first and secondcomputing devices, respectively; receiving, at the first computingdevice from the second computing device via the first wirelesscommunication protocol, the set of information; and in response toreceiving the set of information, configuring, by the first computingdevice, communication via the second wireless communication protocolbetween the first and second applications.
 15. The computer-implementedmethod of claim 14, wherein the set of information further indicating aport address for communication by the first application with the secondapplication via the second wireless communication protocol.
 16. Thecomputer-implemented method of claim 15, wherein the configuring isperformed by: generating, at the first application, a callback for theport address; and sending, to the first application, a reply to thecallback including the port address specified by the set of informationfrom the second computing device.
 17. The computer-implemented method ofclaim 15, wherein the first wireless communication protocol is nearfield communication (NFC), wherein the second wireless communicationprotocol is Bluetooth, and wherein the port address for communicationwith the second computing device is a listening Bluetooth socket for thesecond application currently executing at the second computing device.18. The computer-implemented method of claim 14, wherein the configuringis performed without exiting the first and second applications.
 19. Thecomputer-implemented method of claim 14, wherein the set of informationindicates a unique identifier for the second application currentlyexecuting in a foreground of the second computing device.
 20. A firstcomputing device having one or more processors configured to performoperations comprising: initiating communication with a second computingdevice via a first wireless communication protocol, the first wirelesscommunication protocol being a short-range wireless communicationprotocol; requesting a set of information for configuring communicationvia a different, second wireless communication protocol between firstand second applications executable by the first and second computingdevices, respectively, from the second computing device; receiving theset of information from the second computing device via the firstwireless communication protocol, the set of information indicating (i)that the second application is currently executing in a foreground atthe second computing device and (ii) a port address for communication bythe first application with the second application via the secondwireless communication protocol; and in response to receiving the set ofinformation, configuring communication via the second wirelesscommunication protocol between the first and second applications.